package com.wang.demo.convert;


import com.wang.demo.entity.Req.PageSysUserReq;
import com.wang.demo.entity.dto.PageSysUserDto;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

// 一定要使用org.mapstruct包下的@Mapper注解
@Mapper
public interface PageSysUserDtoConvert {
    PageSysUserDtoConvert INSTANCE = Mappers.getMapper(PageSysUserDtoConvert.class);

    PageSysUserDto convertReqToDto(PageSysUserReq pageSysUserReq);
}